<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo $config['sitename'] ?>
<?php echo $this->_endblock()?>
<?php echo $this->_block('meta')?>
<meta
	name="keywords" content="<?php echo $config['keyword'] ?>" />
<meta
	name="description" content="<?php echo $config['description'] ?>">
<link
	rel="stylesheet" href="<?php echo $_BASE_DIR; ?>css/shownews.css"
	type="text/css" />
</style>
<?php echo $this->_endblock();?>
<?php $this->_block('center');?>
<div id="maincon">
	<div id="path">
		您的位置：<a href="<?php echo url('default')?>">首页</a> >
		<?php echo $data['category']->catename?>
	</div>
	<div id="maincon_l">
		<dl>
		<?php foreach ($data['fetch_data'] as $item):?>
			<dd>

				<div class="news_list_title">
					<strong><a
						href="<?php echo url('news/view',array('id'=>$item->id))?>"
						target="_blank"><?php echo $item->title?> </a> </strong> <span>发布时间:<?php echo date('Y年m月d日 H:i:s',$item->createtime)?>
					</span>
				</div>
				<br />
				<p>
				<?php echo $item->description?>
				</p>
				<div class="showall">
					<a href="<?php echo url('news/view',array('id'=>$item->id))?>"
						target="_blank">查看全文</a>
				</div>
				<div class="clear"></div>
				<hr />

			</dd>
			<?php endforeach;?>

		</dl>
		<!-- 分页 -->
		<table width="100%" align="center" id="paginglist">
			<tr class="colorLink1 pageNave">
				<td colspan="8" style="border-top: none">
					<div>
					<?php echo $this->_control('pagination', 'my-pagination', array('pagination' => $pagination,'url_args'=>$param)); ?>
					</div>
				</td>
			</tr>
		</table>
		<!-- 分页 -->
	</div>
	<div class="clear"></div>
	<br /> <br /> <br />
</div>
					<?php $this->_endblock(); ?>